<%for(entry in result.params){%>
<label id="section_${entry.key}" style="display: none;">${entry.value}</label>
<%}%>
<div class="search-topa search-topa-s1 clearfloat">
	<div class="search-topa1">
		<span class="gary6">城市：</span>
	</div>
	<ul class="search-topa2">
		<!-- 全部城市 -->
		<li class="search-topa2-ft">
			<a href="${ctxPath}${stringutil.replace(result.urls.cityjx,'all','-',1)}"<%if(result.params["cityjx"] == null){%> class="search-topa-bga"<%}%>>全部<div class="search-tl"></div><div class="search-rt"></div><div class="search-bl"></div><div class="search-br"></div></a>
		</li>
		<li>|</li>
		<%for(city in fcitys){%>
		<%if(cityLP.index < 12){%>
		<li class="search-topa2-ft">
			<a cityjx="${city.cityJx}" href="${ctxPath}${stringutil.replace(result.urls.cityjx,city.cityJx,'-',1)}"<%if(result.params["cityjx"] == city.cityJx){%> class="search-topa-bga"<%}%>>${city.cityName}<div class="search-tl"></div><div class="search-rt"></div><div class="search-bl"></div><div class="search-br"></div></a>
			<%if(city.cityNum>0){%><div class="search-dot zkjstyle"><span>${city.cityNum}</span></div><%}%>
		</li>
		<li>|</li>
		<%}%>
		<%}%>
		<li class="search-topa2-ft">
			<a href="javascript:void(0);" class="search-topa2-ft-city otherCity" style="color:#cc0001;">其他城市<span></span><div class="search-tl"></div><div class="search-rt"></div><div class="search-bl"></div><div class="search-br"></div></a>
			<div class="search-dot zkjstyle"><span id="allcityNum"></span></div>
		</li>
	</ul>
</div>
<!--其他城市-->
<div class="search-otherCity" style="display:none">
	<%
		var allcityNum = 0;
	%>
	<ul class="clearfloat">
	<%for(city in fcitys){%>
	<%if(cityLP.index >= 12){%>
		<%if(cityLP.index%4 == 0 && cityLP.index != 12){%>
		</ul>
		<ul class="clearfloat">
		<%}%>
		<li class="search-otherCity-wid1 search-topa2-ft">
		<a cityjx="${city.cityJx}" href="${ctxPath}${stringutil.replace(result.urls.cityjx,city.cityJx,'-',1)}"<%if(result.params.cityjx == city.cityJx){%> class="search-topa-bga"<%}%>>${city.cityName}</a>
		<%if(city.cityNum>0){allcityNum = allcityNum+city.cityNum;%><div class="search-dot zkjstyle"><span>${city.cityNum}</span></div><%}%>
		</li>
		<%if((cityLP.index+1)%4 != 0){%>
		<li class="search-otherCity-wid2">|</li>
		<%}%>
		<%if(result.params.cityjx == city.cityJx){%>
		/*其他城市搜索 类似：其他城市(郑州)*/
		<script>$('.otherCity span').append('(${city.cityName})');</script>
		<%}%>
	<%}%>
	<%}%>
	</ul>
</div>	
<script type="text/javascript" >
/*allcityNum 其他城市命中关键字商品数量*/
<%if(allcityNum == 0){%>
	$('#allcityNum').parent().remove();
<%}else{%>
	$('#allcityNum').html('${allcityNum}');
<%}%>
</script>